import request from '@/utils/request.js'

export function getLayout(){
	return request({
		url:"/babyCarMerchant/layout/info",
		method:"GET"
	})
}

export function getList(station_id){
	return request({
		url:"/babyCarMerchant/layout/list?station_id="+station_id,
		method:"GET"
	})
}

export function getCurrent(station_id,pile_idx){
	return request({
		url:"/babyCarMerchant/layout/current?station_id="+station_id+"&pile_idx="+pile_idx,
		method:"GET"
	})
}

export function getUserLayout(){
	return request({
		url:"/babyCarMerchant/layout/user",
		method:"GET"
	})
}